/*
 * 导航栏的跳转方法
 */
function addService(){
	window.parent.document.getElementById('Fmain').src = "add/addS.html";
}
function manageService(){
	window.parent.document.getElementById('Fmain').src = "classify/manageS.html";
}
function checkService(){
	window.parent.document.getElementById('Fmain').src = "classify/checkS.html";
}
function iforCustomer(){
	window.parent.document.getElementById('Fmain').src = "classify/CIfor.html";
}
function orderCustomer(){
	window.parent.document.getElementById('Fmain').src = "classify/Corder.html";
}
function eventCustomer(){
	window.parent.document.getElementById('Fmain').src = "classify/Cevent.html";
}
function recordCustomer(){
	window.parent.document.getElementById('Fmain').src = "umeditor/_examples/CrecordDetail.html";
}
function labelCustomer(){
	window.parent.document.getElementById('Fmain').src = "classify/ClabelTotal.html";
}
function Snotes(){
	window.parent.document.getElementById('Fmain').src = "classify/Snotes.html";
}
function addCustomer(){
	window.parent.document.getElementById('Fmain').src = "add/addC.html";
}
function addS(){
	window.parent.document.getElementById('Fmain').src = "add/addS.html";
}
function updataS(){
	window.parent.document.getElementById('Fmain').src = "updata/updataS.html";
}

function addCrecord(){
	window.parent.document.getElementById('Fmain').src = "umeditor/_examples/addCrecord.html"
}

function addCorder(){
	window.parent.document.getElementById('Fmain').src = "add/addCorder.html"
}

function addC(){
	window.parent.document.getElementById('Fmain').src = "add/addC.html";
}

function addCevent(){
	window.parent.document.getElementById('Fmain').src = "add/addCevent.html"
}

/*
 * 添加文本框方法
 */
var i=1;
function addLabelInput(){
	document.getElementById("addLabelBut").innerHTML+='<div class="col-xs-3"><input type="text" name="labelClass_'+i+'" class="form-control" placeholder="标签类型"><textarea name="labelDetail_'+i+'" rows="3" cols="30"></textarea></div>';
	i = i + 1;
}
function addPlatformInput(){
	document.getElementById("tdPlatform").innerHTML+='<input type="text" class="form-control" name="Platform_'+i+'" value="" placeholder="常用平台" >';
	i = i + 1;	
}
function addContactInput(){
	document.getElementById("tdAddress").innerHTML+='<div class="addressIpt"><input type="text" class="form-control" name="PhoneNumber_'+i+'" value="" placeholder="电话" ><input type="text" class="form-control" name="addressP_'+i+'" value="" placeholder="省份" ><input type="text" class="form-control" name="addressC_'+i+'" value="" placeholder="城市" ><input type="text" class="form-control" name="addressDD_'+i+'" value="" placeholder="详细地址" ></div>';
	i = i + 1;	
}
function addCidInput(){
	document.getElementById("tdCid").innerHTML+='<input type="text" class="form-control" name="customerID_'+i+'" value="" ">';
	i = i + 1;
}
function addSidInput(){
	document.getElementById("tdSid").innerHTML+='<input type="text" class="form-control" name="serviceID_'+i+'" value="">'
	i = i + 1;
}
function addASorderInput(){
	document.getElementById("addASorder").innerHTML+='<table class="ASorder"><tr><td class="t1">售后原因：</td><td colspan="3"><input type="text" class="form-control" name="ASorderCause_'+i+'"></td></tr><tr><td class="t1">日期：</td><td><input type="date" class="form-control" name="ASorderTime_'+i+'"></td><td class="t1">颜色：</td><td><input type="text" class="form-control" name="ASorderColor_'+i+'"></td></tr><tr><td class="t1">快递：</td><td><input type="text" class="form-control" name="ASorderEN_'+i+'"></td><td class="t1">尺码：</td><td><input type="text" class="form-control" name="ASorderSize_'+i+'"></td></tr><tr><td class="t1">评价：</td><td colspan="3"><input type="text" class="form-control" name="ASorderComment_'+i+'"></td></tr><tr><td class="t1">备注：</td><td colspan="2"><textarea name="ASorderRemark_'+i+'" rows="3" cols="30"></textarea><td><input type="text" class="form-control" name="ASorderSID_'+i+'" placeholder="处理人员"></td></td></tr></table>';
	i = i + 1
}
